package org.eliza.base

import java.io.File
import java.nio.file.Files
import java.nio.file.Paths
import kotlin.io.path.Path
import kotlin.io.path.pathString

var dirs = arrayOf(
    "annotation",
    "collections",
    "comparisons",
    "concurrent",
    "contracts",
    "coroutines",
    "enums",
    "experimental",
    "internal",
    "io",
    "properties",
    "random",
    "ranges",
    "reflect",
    "sequences",
    "system",
    "text",
    "time",
)

private fun main() {
    val currentDir = System.getProperty("user.dir")
    println(currentDir)
    val path = "/home/debi/IdeaProjects/LearnKotlin/basic/src/main/kotlin"
    for (s in dirs) {
        val get = Paths.get(path, s + "x")
        println(get)
        Files.createDirectories(get)
    }
}
